package com.jie.enums;

import lombok.Getter;

public enum BizCodeEnum {
    /**
     * 通⽤操作码
     */
    OPS_REPEAT(110001,"᯿复操作"),
    /**
     *验证码
     */
    CODE_TO_ERROR(240001,"接收号码不合规"),
    CODE_QQ_ERROR(24004,"邮箱验证码发送失败"),
    CODE_LIMITED(240002,"验证码发送过快"),
    CODE_ERROR(240003,"验证码错误"),
    CODE_CAPTCHA(240101,"图形验证码错误"),
    /**
     * 账号
     */
    ACCOUNT_REPEAT(250001,"账号已经存在"),
    ACCOUNT_UNREGISTER(250002,"账号不存在"),
    ACCOUNT_PWD_ERROR(250003,"账号或者密码错误");
    @Getter
    private String message;
    @Getter
    private int code;
    private BizCodeEnum(int code,String message){
        this.code=code;
        this.message=message;
    }

}
